home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 December / Chip_2001-12_cd1.bin / zkuste / tuning / download / xteq / setup.exe / {app} / plugins / XQ WinNT QuickBoot.xpl < prev    next >
Text File  |  2001-02-06  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="System\Advanced System Settings"
  5. "NAME"="Windows Quick Reboot"
  6. "VERSION"="1.07"
  7. "OSVERSION"="01000"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Enable CTRL+SHIFT+ALT+DEL quick reboot"
  10. "DESCRIPTION 1"="Activating this option allows you to press CTRL+SHIFT+ALT+DEL to reboot your PC."
  11. "DESCRIPTION 2"="The "normal" CTRL+ALT+DEL will still show the "Windows NT Security" screen."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16. "COMMENT 2"="Thanks to Chris [CGMT@flashmail.com] for the "non-NT but not disabled" bug notice. "
  17.  
  18.  
  19. sPath="HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\"
  20. sV1="EnableQuickReboot"
  21. Sub Plugin_Initialize 
  22.     i=RegReadValue(sPath & sV1)
  23.     if i=1 then
  24.        SetUIElement 1,true 
  25.     end if
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  b=GetUIElement(1)
  33.  if b=true then
  34.     Call RegWriteValue(sPAth & sV1,1,1)
  35.  else
  36.     Call RegWriteValue(sPAth & sV1,0,1)
  37.  end if
  38.  
  39.  Call Restart()
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.